package com.lovelyj.trip_by_train.entity;

import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;


@Data
public class Ticket implements Serializable {
    private static final long serialVersionUID = 1L;

    private Long id;

    private Long orderId;

    private Integer ticketType;     //票类型，0成人票，1儿童票，2学生票，3残军票

    private String passengerName;

    private Integer passengerIdType;

    private String passengerId;

    private Integer seatType;

    private String trainNum;

    private String startStation;

    private LocalDateTime startTime;

    private String endStation;

    private LocalDateTime endTime;
}
